<template>
  <div>
    <div>登录页测试</div>
    <el-button @click="onlogin">登录</el-button>
  </div>
</template>

<script>
export default {
    data(){
        return{

        }
    },
    methods:{
        onlogin(){
            const param = {};
                this.$http.get('/login',param).then(res =>{ 
                console.log(res.data)
            })
        }
    }
     
}
</script>

<style>

</style>